package com.yumeng.generator;

import lombok.Getter;

/**
 * 代码生成异常
 *
 * @author wxd
 * @date 2025/10/17 10:13
 */
@Getter
public class GeneratorException extends RuntimeException {

    public GeneratorException(Throwable e) {
        super(e);
    }

    public GeneratorException(String message, Object... args) {
        super(String.format(message, args));
    }

    public GeneratorException(Throwable e, String message, Object... args) {
        super(String.format(message, args), e);
    }
}
